//
//  ClockwiseTraveler.h
//  Henry
//
//  Created by Ron Olson on 3/12/10.
//  Copyright 2010 Keep Bertha Surfin. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Waypoint.h"

@interface ClockwiseTraveler : NSObject {
	NSArray *waypoints;
	Waypoint *originPoint;
	
	/* Our working lists */
	NSMutableArray *nwList;
	NSMutableArray *neList;
	NSMutableArray *seList;
	NSMutableArray *swList;
	
	/* The final list we will pass back */
	NSMutableArray *optimizedList;
}

-(id)initWithWaypoints:(NSArray*)waypointList startingAt:(Waypoint*)firstWaypoint;
-(NSArray*)getSortedWaypoints;
-(void)createTour;
-(void)fillCompassLists;

@end
